home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ Win2K Network Adapter Task Offloading 1.xpl < prev    next >
Text File  |  2001-04-26  |  2KB  |  45 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Network Interface"
  5. "NAME"="NIC Task Offloading"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Enable Network Adapter Task Offloading"
  8. "OSVERSION"="000101"
  9. "DESCRIPTION 1"="Some network adapters have onboard processors, which allow network command processing to be offloaded from the CPU, making your computer faster. However, by default, Windows 2000/XP doesn't make use of this capability, even if your NIC driver supports it."
  10. "DESCRIPTION 2"="You can, howver enable it manually by using this plug-in. Put a tick in the box to enable task offloading, clear the box to disable."
  11. "COMMENT 1"="Taken from http://www.jsiinc.com/tip3400/rh3411.htm"
  12. "COMMENT 2"="Thanks to CptSiskoX [CptSiskoX@FlashMail.com] for suggesting this tip!"
  13. "VERSION"="1.02"
  14. "AUTHOR"="Neil R. Turner (totalxs@hotmail.com) for Xteq Systems"
  15. "COPYRIGHT"="Copyight ⌐ Xteq Systems - All Rights Reserved"
  16.  
  17. 'Declaration of some constants
  18. sP="HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\DisableTaskOffload"
  19.  
  20. 'Called when the Plugin is started
  21. SUB Plugin_Initialize
  22.  s=RegReadValue(sP)
  23.  if s=0 OR IsEmpty(s) then
  24.   Call SetUIElement(1,true)
  25.  end if
  26. END SUB
  27.  
  28. 'Called when the Plugin should validate the Data the user has entered
  29. SUB Plugin_CheckData(ElementIndex)
  30. END SUB
  31.  
  32. 'Called when the Plugin should apply the changes
  33. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  s=GetUIElement(1)
  35.  if s=true then
  36.   Call RegWriteValue(sP,0,2)
  37.  else
  38.   Call RegWriteValue(sP,1,2)
  39.  end if
  40. END SUB
  41.  
  42. 'Called when the Plugin is about to be removed from memory
  43. SUB Plugin_Terminate
  44. END SUB
  45.